//package com.misboot.document.config;
//
//import com.misboot.document.interceptor.LoggerInterceptor;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
///**
// * @Description  拦截地址
// * @Author 湖南佐佑时代科技有限公司<service@zuoyo.com>
// * @Date 2020-10-13 19:51
// */
//@Configuration
//public class LoggerConfguration extends WebMvcConfigurerAdapter
//{
//    @Bean
//    public LoggerInterceptor loggerInterceptor(){
//        return new LoggerInterceptor();
//    }
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(loggerInterceptor()).addPathPatterns("/**");
//    }
//}
